using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class SearchRequest : OrganizationRequest
	{
		public AppointmentRequest AppointmentRequest
		{
			get
			{
				if (base.Parameters.Contains("AppointmentRequest"))
				{
					return (AppointmentRequest)base.Parameters["AppointmentRequest"];
				}
				return null;
			}
			set
			{
				base.Parameters["AppointmentRequest"] = value;
			}
		}
		public SearchRequest()
		{
			base.RequestName = "Search";
			this.AppointmentRequest = null;
		}
	}
}
